Carbon


PBOffLine

Header: Files.h Carbon status: Supported

Places a volume offline. Most applications don’t need to do this.

OSErr PBOffLine (
    ParmBlkPtr paramBlock
);
paramBlock

A pointer to a basic File Manager parameter block.

function result

A result code.

DISCUSSION

The relevant fields of the parameter block are:

The PBOffLine function places the specified volume offline by calling PBFlushVolSync or PBFlushVolAsync to flush the volume and releasing all the memory used for the volume except for the volume control block.

The PBOffLine function always executes synchronously.

AVAILABILITY

Supported in Carbon. Not available in Carbon.


© 2000 Apple Computer, Inc. — (Last Updated 5/8/2000)